feat: Error reporting at the end of the simulatiuon #3929
feat: Error reporting at the end of the simulatiuon #3929arng40 wants to merge 346 commits intofeat/dudes/perforations-table-detailfrom
Conversation
…mandinehry/create-yaml-file-and-structure
…t-test + testing GEOS_ERROR
…unit test separation for multiple EXPECT_EXIT
…upported by fmt for now)
…ASSERT and GEOS_THROW are now compatible with context parameters)
…y/create-yaml-file-and-structure
…y/create-yaml-file-and-structure
…file-and-structure-2' into refactor/dudes/error-context
…y/create-yaml-file-and-structure-2
MelReyCG
left a comment
There was a problem hiding this comment.
can we see a real case sample?
| } | ||
| else | ||
| { | ||
| it->second.m_count += 1; |
There was a problem hiding this comment.
Should this be?
| it->second.m_count += 1; | |
| it->second.m_count += logRecord.m_value.m_count; |
|
|
||
| GEOS_THROW_IF_NE( m_state, State::UNINITIALIZED, geos::LogicError ); | ||
|
|
||
| LogPart postProcessiveLog( "Parsing", MpiWrapper::commRank() == 0 ); |
There was a problem hiding this comment.
What do you think of
| LogPart postProcessiveLog( "Parsing", MpiWrapper::commRank() == 0 ); | |
| LogPart postProcessiveLog( "Input Files Processing", MpiWrapper::commRank() == 0 ); |
| if( MpiWrapper::commRank() == 1 ) | ||
| { | ||
| GEOS_WARNING( "labla" ); | ||
| } |
There was a problem hiding this comment.
Be careful, you tend to forget more and more of these in your recent works
| > | ||
| > | ||
| static GatherResult< CONTAINER > | ||
| gatherBufferRank0( CONTAINER const & localBuffer ) |
There was a problem hiding this comment.
I'm not sure which PR should go first... One should be based on the other one because you implement this in the two PRs. Taking into account any comment / change on the other PR
| #include "common/StdContainerWrappers.hpp" | ||
|
|
||
|
|
||
| // // TPL includes | ||
| #include <gtest/gtest.h> | ||
| #include <gtest/gtest-spi.h> | ||
| #include <memory> |
| { | ||
| static_assert( std::is_trivially_copyable_v< T > ); | ||
| if( ptr + sizeof(T)> end ) throw std::runtime_error( "Buffer truncated" ); | ||
| memcpy( &data, ptr, sizeof(T) ); | ||
| ptr += sizeof(T); | ||
| } |
There was a problem hiding this comment.
-> CPP
Here and for all other >1 function, as usual.
| TableLayout tableLayout; | ||
| tableLayout.addColumn( "Types" ); | ||
|
|
||
| // fill header |
There was a problem hiding this comment.
you can maybe add some more "part" comments for this function I think.
| tableLayout.addColumn( "Types" ); | ||
|
|
||
| // fill header | ||
| for( size_t msgTypeIdx = (size_t) MsgType::Error; msgTypeIdx != (size_t)MsgType::Undefined; msgTypeIdx++ ) |
There was a problem hiding this comment.
Do as I did in my PR for the -d:
| for( size_t msgTypeIdx = (size_t) MsgType::Error; msgTypeIdx != (size_t)MsgType::Undefined; msgTypeIdx++ ) | |
| for( size_t msgTypeIdx = 0; msgTypeIdx < (size_t)MsgType::Count; msgTypeIdx++ ) |
…tail' into feat/dudes/warning-report
commit b962b2c Author: arng40 <[email protected]> Date: Tue Mar 31 10:52:52 2026 +0200 :coffin: dead code & spaces commit dfe0619 Author: arng40 <[email protected]> Date: Tue Mar 31 10:51:32 2026 +0200 :art: format code commit 55aff05 Merge: ee7d7da ba863d7 Author: arng40 <[email protected]> Date: Tue Mar 31 10:51:05 2026 +0200 Merge branch 'feat/dudes/perforations-table-detail' of https://github.com/GEOS-DEV/GEOS into feat/dudes/perforations-table-detail commit ee7d7da Author: arng40 <[email protected]> Date: Tue Mar 31 10:50:50 2026 +0200 :bug: local scope for globalWellElemIndices commit ba863d7 Merge: 0d22428 510dc76 Author: Arnaud DUDES <[email protected]> Date: Tue Mar 31 10:34:16 2026 +0200 Merge branch 'develop' into feat/dudes/perforations-table-detail commit 0d22428 Merge: 17538bd 23a5694 Author: arng40 <[email protected]> Date: Mon Mar 30 18:01:56 2026 +0200 Merge branch 'feat/dudes/perforations-table-detail' of https://github.com/GEOS-DEV/GEOS into feat/dudes/perforations-table-detail commit 17538bd Author: arng40 <[email protected]> Date: Mon Mar 30 18:01:44 2026 +0200 :recycle: relocated in perfo data + renaming commit 23a5694 Merge: 1181253 acd7cc5 Author: MelReyCG <[email protected]> Date: Mon Mar 30 17:12:21 2026 +0200 Merge branch 'develop' into feat/dudes/perforations-table-detail commit 1181253 Author: arng40 <[email protected]> Date: Mon Mar 30 17:11:47 2026 +0200 :art: added boolean array for perfo availibility commit a302088 Author: MelReyCG <[email protected]> Date: Mon Mar 30 11:19:58 2026 +0200 🎨 spaces commit 935d117 Author: arng40 <[email protected]> Date: Mon Mar 30 10:12:28 2026 +0200 :art: improve testMpiTable Cond commit 7d6249d Author: arng40 <[email protected]> Date: Mon Mar 30 10:12:03 2026 +0200 :art: update perdoration sorting cond commit 81a96b2 Author: arng40 <[email protected]> Date: Mon Mar 30 10:10:21 2026 +0200 :coffin: :label: remove dead code, update types commit bdc15ec Author: arng40 <[email protected]> Date: Fri Mar 27 17:12:37 2026 +0100 :truck: move declaration outside hpp commit ecef467 Author: arng40 <[email protected]> Date: Fri Mar 27 11:15:41 2026 +0100 :green_heart: fix CI build
Will be merged after : #3902
Located after MemoryStatsOutput :
Ex :